package com.xinqi.modules.chat.chat.group.dto.req;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

/**
 * 群组表-请求对象
 *
 * @author: system
 * @date: 2023/01/12
 */
@Data
@Schema(description = "群组表-用户新增")
public class ChatUserGroupCreateDTO implements Serializable {
    @Schema(description = "群成员集合")
    @NotEmpty(message = "{chat.group.create.user.not.blank}")
    @Size(min = 2, message = "{chat.group.create.groupUser.length.valid}")
    private List<Long> groupUserIds;
}
